﻿<%@ Page Title="Se connecter" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true"
	CodeBehind="Login.aspx.cs" Inherits="appClient.Account.Login" %>

<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">
</asp:Content>
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
	<h2>
		Se connecter
	</h2>
	<p>
		Entrez un nom d'utilisateur et un mot de passe. <a href="Register.aspx">S'inscrire</a>
		si vous n'avez pas de compte.
	</p>
	<span class="failureNotification" style="color: Red; font-weight: bold;">
		<asp:Literal ID="FailureText" runat="server"></asp:Literal>
	</span>
	<asp:ValidationSummary ID="LoginUserValidationSummary" runat="server" CssClass="failureNotification"
		ValidationGroup="LoginUserValidationGroup" Style="color: Red; font-weight: bold;" />
	<div class="mainContent">
		<div class="box">
			<div class="left-top-corner">
				<div class="right-top-corner">
					<div class="right-bot-corner">
						<div class="left-bot-corner">
							<div class="inner">
								<div class="wrapper line-ver">
									<div class="accountInfo">
										<fieldset class="login" style="width:90%;">
											<legend>Informations de compte</legend>
											<p>
												<asp:Label ID="UserNameLabel" runat="server" AssociatedControlID="UserName">Email :</asp:Label><br />
												<asp:TextBox ID="UserName" runat="server" CssClass="textEntry"></asp:TextBox>
												<asp:RequiredFieldValidator ID="UserNameRequired" runat="server" ControlToValidate="UserName"
													CssClass="failureNotification" ErrorMessage="Un nom d'utilisateur est requis."
													ToolTip="Un nom d'utilisateur est requis." ValidationGroup="LoginUserValidationGroup">*</asp:RequiredFieldValidator>
											</p>
											<p>
												<asp:Label ID="PasswordLabel" runat="server" AssociatedControlID="Password">Mot de passe :</asp:Label><br />
												<asp:TextBox ID="Password" runat="server" CssClass="passwordEntry" TextMode="Password"></asp:TextBox>
												<asp:RequiredFieldValidator ID="PasswordRequired" runat="server" ControlToValidate="Password"
													CssClass="failureNotification" ErrorMessage="Un mot de passe est requis." ToolTip="Un mot de passe est requis."
													ValidationGroup="LoginUserValidationGroup">*</asp:RequiredFieldValidator>
											</p>
											<p>
												<asp:CheckBox ID="RememberMe" runat="server" />
												<asp:Label ID="RememberMeLabel" runat="server" AssociatedControlID="RememberMe" CssClass="inline">Maintenir la connexion</asp:Label>
											</p>
										</fieldset>
										<p class="submitButton">
											<asp:Button ID="LoginButton" runat="server" CommandName="Login" Text="Se connecter"
												ValidationGroup="LoginUserValidationGroup" OnClick="LoginButton_Click" />
										</p>
									</div>
								</div>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
</asp:Content>
